@extends('layouts.master3')
@section('title')
排行榜
@endsection
@section("style")
<link href="/css/challenges.css" rel="stylesheet">
@endsection
@section('content')
    <div class="contain">
@include('contest/header',['type'=>'rank'])
        <section class="leaderboard container">
            <div class="table-wrap">
                <header class="clearfix">
                    <div class="col-md-2 text-cen">排名</div>
                    <div class="col-md-2">用户名</div>
                    <div class="col-md-2">分数</div>
                    <div class="col-md-2">QPS综合</div>
                    <div class="col-md-2">TPS综合</div>
                    <div class="col-md-2">Q+T</div>
                </header>
                <div class="table-body">
<?php $i=0;?>
@foreach($judges as $judge)
<?php $i++;?>
                    <div class="leaderboard-list ">
                        <div class="row pb10 pt10">
                            <div class="col-md-2 text-cen"><p>{{$i}}</p></div>
                            <div class="col-md-2"><p><a class="col-r">{{$judge['user']->name}}</a></p></div>
                            <div class="col-md-2"><p>{{$judge['s']}}</p></div>
                            <div class="col-md-2"><p>{{$judge['qps']/100}}</p></div>
                            <div class="col-md-2"><p>{{$judge['tps']/100}}</p></div>
                            <div class="col-md-2"><p>{{$judge['score']/100}}</p></div>
                        </div>
                    </div>
@endforeach



                </div>
            </div>
        </section>
    </div>
    <div style="height:60px;"></div>

<div style="text-align:center">
</div>

</div>
@endsection
